package cn.iocoder.yudao.module.book.controller.app.classes.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 班级 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppClassesRespVO {

    @Schema(description = "班级id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3844")
    @ExcelProperty("班级id")
    private Integer classesId;

    @Schema(description = "班级名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("班级名称")
    private String cname;

    @Schema(description = "老师id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5349")
    @ExcelProperty("老师id")
    private Long userId;

    @Schema(description = "班级指令", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("班级指令")
    private Integer command;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "成员数量", example = "5")
    private Integer memberCount;

}